#ifndef __OBJECTS__H__
#define __OBJECTS__H__

#include "sprite.h"
#include <stdio.h>

typedef struct _item_t{
    int type, val;
    sprite_t spr;
    char *name;
} item_t;

typedef struct _inventory_t{
    item_t *usables;
    item_t *weapons;
    item_t *armor;
}inventory_t;

char* item_to_str(item_t *item);

#endif
